# Contributor: TBK <alpine@jjtc.eu>
# Maintainer: TBK <alpine@jjtc.eu>
pkgname=litterbox
pkgver=1.9
pkgrel=1
pkgdesc="IRC logger"
arch="all"
url="https://git.causal.agency/litterbox/"
license="GPL-3.0-or-later"
options="!check" # v1.7 not a real test suite
makedepends="libretls-dev sqlite-dev"
subpackages="$pkgname-doc"
source="https://git.causal.agency/litterbox/snapshot/litterbox-$pkgver.tar.gz"

build() {
	# configure script is not gnu-autoconf
	./configure \
		--prefix=/usr \
		--bindir=/usr/bin \
		--mandir=/usr/share/man
	make all
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="
b2af91635118010ba5093027bffadbbdaa4e6e80f953881f1fb416ebff410897b9a1259e9cc7ddd33df6334b97704b3992979a85f0310e0dabde6af41b56149a  litterbox-1.9.tar.gz
"
